package com.teamall.web.family.db.arg;

import java.util.*;
import java.math.*;
import org.apache.commons.lang.*;

public class FamilyInfoArg {
    private String pk_name = "FAMILY_ID";

    private String orderByClause;

    private String groupByClause;

    private String columns;

    private String countsql1;

    private String countsql2;

    private boolean distinct;

    private int rowStart = 0;

    private int rowEnd = 10;

    private List<FamilyInfoCriteria> oredCriteria;

    public FamilyInfoArg() {
        oredCriteria = new ArrayList<FamilyInfoCriteria>();
    }

    public void setPk_name(String pk_name) {
        this.pk_name = StringEscapeUtils.escapeSql(pk_name);
    }

    public String getPk_name() {
        return pk_name;
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = StringEscapeUtils.escapeSql(orderByClause);
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setGroupByClause(String groupByClause) {
        this.groupByClause = StringEscapeUtils.escapeSql(groupByClause);
    }

    public String geGroupByClause() {
        return groupByClause;
    }

    public void setColumns(String columns) {
        this.columns = StringEscapeUtils.escapeSql(columns);
    }

    public String geColumns() {
        return columns;
    }

    public void setCountsql1(String countsql1) {
        this.countsql1 = StringEscapeUtils.escapeSql(countsql1);
    }

    public String geCountsql1() {
        return countsql1;
    }

    public void setCountsql2(String countsql2) {
        this.countsql2 = StringEscapeUtils.escapeSql(countsql2);
    }

    public String geCountsql2() {
        return countsql2;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public void setRowStart(int rowStart) {
        this.rowStart = rowStart;
    }

    public void setRowEnd(int rowEnd) {
        this.rowEnd = rowEnd;
    }

    public int getRowStart() {
        return rowStart;
    }

    public int getRowEnd() {
        return rowEnd;
    }

    public List<FamilyInfoCriteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(FamilyInfoCriteria criteria) {
        oredCriteria.add(criteria);
    }

    public FamilyInfoCriteria or() {
    	FamilyInfoCriteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public FamilyInfoCriteria createCriteria() {
    	FamilyInfoCriteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected FamilyInfoCriteria createCriteriaInternal() {
    	FamilyInfoCriteria criteria = new FamilyInfoCriteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        groupByClause = null;
        columns = null;
        countsql1 = null;
        countsql2 = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<FamilyInfoCriterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<FamilyInfoCriterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<FamilyInfoCriterion> getAllCriteria() {
            return criteria;
        }

        public List<FamilyInfoCriterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new FamilyInfoCriterion(condition));
        }

        protected void addCriterion(String condition, Object value,
                String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyInfoCriterion(condition, value));
        }

        protected void addCriterion(String condition, Object value,
                String property, int likeType) {
            if (value == null) {
                throw new RuntimeException("Value for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyInfoCriterion(condition, value, likeType));
        }

        protected void addCriterion(String condition, Object value1,
                Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property
                        + " cannot be null");
            }
            criteria.add(new FamilyInfoCriterion(condition, value1, value2));
        }

        public FamilyInfoCriteria andCriterionEqualTo(String criterion) {
            if (StringUtils.isBlank(criterion)) {
                criterion = "1=1";
            }
            addCriterion(criterion);
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andFamilyIdIsNull() {
            addCriterion("FAMILY_ID is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdIsNotNull() {
            addCriterion("FAMILY_ID is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdEqualTo(Integer value) {
            addCriterion("FAMILY_ID =", value, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdNotEqualTo(Integer value) {
            addCriterion("FAMILY_ID <>", value, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdGreaterThan(Integer value) {
            addCriterion("FAMILY_ID >", value, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_ID >=", value, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdLessThan(Integer value) {
            addCriterion("FAMILY_ID <", value, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdLessThanOrEqualTo(Integer value) {
            addCriterion("FAMILY_ID <=", value, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdNotLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdLeftLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdNotLeftLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdRightLike(Integer value) {
            addCriterion("FAMILY_ID like ", value, "FAMILY_ID", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdNotRightLike(Integer value) {
            addCriterion("FAMILY_ID  not like ", value, "FAMILY_ID", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdIn(List<Integer> values) {
            addCriterion("FAMILY_ID  in ", values, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdNotIn(List<Integer> values) {
            addCriterion("FAMILY_ID not in ", values, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_ID between ", value1, value2, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyIdNotBetween(Integer value1, Integer value2) {
            addCriterion("FAMILY_ID not between ", value1, value2, "FAMILY_ID");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andVillageIdIsNull() {
            addCriterion("VILLAGE_ID is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdIsNotNull() {
            addCriterion("VILLAGE_ID is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdEqualTo(Integer value) {
            addCriterion("VILLAGE_ID =", value, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdNotEqualTo(Integer value) {
            addCriterion("VILLAGE_ID <>", value, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdGreaterThan(Integer value) {
            addCriterion("VILLAGE_ID >", value, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("VILLAGE_ID >=", value, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdLessThan(Integer value) {
            addCriterion("VILLAGE_ID <", value, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdLessThanOrEqualTo(Integer value) {
            addCriterion("VILLAGE_ID <=", value, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdLike(Integer value) {
            addCriterion("VILLAGE_ID like ", value, "VILLAGE_ID", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdNotLike(Integer value) {
            addCriterion("VILLAGE_ID  not like ", value, "VILLAGE_ID", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdLeftLike(Integer value) {
            addCriterion("VILLAGE_ID like ", value, "VILLAGE_ID", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdNotLeftLike(Integer value) {
            addCriterion("VILLAGE_ID  not like ", value, "VILLAGE_ID", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdRightLike(Integer value) {
            addCriterion("VILLAGE_ID like ", value, "VILLAGE_ID", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdNotRightLike(Integer value) {
            addCriterion("VILLAGE_ID  not like ", value, "VILLAGE_ID", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdIn(List<Integer> values) {
            addCriterion("VILLAGE_ID  in ", values, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdNotIn(List<Integer> values) {
            addCriterion("VILLAGE_ID not in ", values, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdBetween(Integer value1, Integer value2) {
            addCriterion("VILLAGE_ID between ", value1, value2, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andVillageIdNotBetween(Integer value1, Integer value2) {
            addCriterion("VILLAGE_ID not between ", value1, value2, "VILLAGE_ID");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andFamilyCodeIsNull() {
            addCriterion("FAMILY_CODE is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeIsNotNull() {
            addCriterion("FAMILY_CODE is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeEqualTo(String value) {
            addCriterion("FAMILY_CODE =", value, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeNotEqualTo(String value) {
            addCriterion("FAMILY_CODE <>", value, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeGreaterThan(String value) {
            addCriterion("FAMILY_CODE >", value, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeGreaterThanOrEqualTo(String value) {
            addCriterion("FAMILY_CODE >=", value, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeLessThan(String value) {
            addCriterion("FAMILY_CODE <", value, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeLessThanOrEqualTo(String value) {
            addCriterion("FAMILY_CODE <=", value, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeLike(String value) {
            addCriterion("FAMILY_CODE like ", value, "FAMILY_CODE", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeNotLike(String value) {
            addCriterion("FAMILY_CODE  not like ", value, "FAMILY_CODE", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeLeftLike(String value) {
            addCriterion("FAMILY_CODE like ", value, "FAMILY_CODE", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeNotLeftLike(String value) {
            addCriterion("FAMILY_CODE  not like ", value, "FAMILY_CODE", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeRightLike(String value) {
            addCriterion("FAMILY_CODE like ", value, "FAMILY_CODE", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeNotRightLike(String value) {
            addCriterion("FAMILY_CODE  not like ", value, "FAMILY_CODE", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeIn(List<String> values) {
            addCriterion("FAMILY_CODE  in ", values, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeNotIn(List<String> values) {
            addCriterion("FAMILY_CODE not in ", values, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeBetween(String value1, String value2) {
            addCriterion("FAMILY_CODE between ", value1, value2, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andFamilyCodeNotBetween(String value1, String value2) {
            addCriterion("FAMILY_CODE not between ", value1, value2, "FAMILY_CODE");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andPovertyAttrIsNull() {
            addCriterion("POVERTY_ATTR is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrIsNotNull() {
            addCriterion("POVERTY_ATTR is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrEqualTo(Integer value) {
            addCriterion("POVERTY_ATTR =", value, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrNotEqualTo(Integer value) {
            addCriterion("POVERTY_ATTR <>", value, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrGreaterThan(Integer value) {
            addCriterion("POVERTY_ATTR >", value, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrGreaterThanOrEqualTo(Integer value) {
            addCriterion("POVERTY_ATTR >=", value, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrLessThan(Integer value) {
            addCriterion("POVERTY_ATTR <", value, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrLessThanOrEqualTo(Integer value) {
            addCriterion("POVERTY_ATTR <=", value, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrLike(Integer value) {
            addCriterion("POVERTY_ATTR like ", value, "POVERTY_ATTR", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrNotLike(Integer value) {
            addCriterion("POVERTY_ATTR  not like ", value, "POVERTY_ATTR", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrLeftLike(Integer value) {
            addCriterion("POVERTY_ATTR like ", value, "POVERTY_ATTR", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrNotLeftLike(Integer value) {
            addCriterion("POVERTY_ATTR  not like ", value, "POVERTY_ATTR", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrRightLike(Integer value) {
            addCriterion("POVERTY_ATTR like ", value, "POVERTY_ATTR", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrNotRightLike(Integer value) {
            addCriterion("POVERTY_ATTR  not like ", value, "POVERTY_ATTR", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrIn(List<Integer> values) {
            addCriterion("POVERTY_ATTR  in ", values, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrNotIn(List<Integer> values) {
            addCriterion("POVERTY_ATTR not in ", values, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrBetween(Integer value1, Integer value2) {
            addCriterion("POVERTY_ATTR between ", value1, value2, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyAttrNotBetween(Integer value1, Integer value2) {
            addCriterion("POVERTY_ATTR not between ", value1, value2, "POVERTY_ATTR");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andIsFoodClothingIsNull() {
            addCriterion("IS_FOOD_CLOTHING is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingIsNotNull() {
            addCriterion("IS_FOOD_CLOTHING is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingEqualTo(Integer value) {
            addCriterion("IS_FOOD_CLOTHING =", value, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingNotEqualTo(Integer value) {
            addCriterion("IS_FOOD_CLOTHING <>", value, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingGreaterThan(Integer value) {
            addCriterion("IS_FOOD_CLOTHING >", value, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_FOOD_CLOTHING >=", value, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingLessThan(Integer value) {
            addCriterion("IS_FOOD_CLOTHING <", value, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingLessThanOrEqualTo(Integer value) {
            addCriterion("IS_FOOD_CLOTHING <=", value, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingLike(Integer value) {
            addCriterion("IS_FOOD_CLOTHING like ", value, "IS_FOOD_CLOTHING", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingNotLike(Integer value) {
            addCriterion("IS_FOOD_CLOTHING  not like ", value, "IS_FOOD_CLOTHING", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingLeftLike(Integer value) {
            addCriterion("IS_FOOD_CLOTHING like ", value, "IS_FOOD_CLOTHING", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingNotLeftLike(Integer value) {
            addCriterion("IS_FOOD_CLOTHING  not like ", value, "IS_FOOD_CLOTHING", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingRightLike(Integer value) {
            addCriterion("IS_FOOD_CLOTHING like ", value, "IS_FOOD_CLOTHING", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingNotRightLike(Integer value) {
            addCriterion("IS_FOOD_CLOTHING  not like ", value, "IS_FOOD_CLOTHING", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingIn(List<Integer> values) {
            addCriterion("IS_FOOD_CLOTHING  in ", values, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingNotIn(List<Integer> values) {
            addCriterion("IS_FOOD_CLOTHING not in ", values, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingBetween(Integer value1, Integer value2) {
            addCriterion("IS_FOOD_CLOTHING between ", value1, value2, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsFoodClothingNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_FOOD_CLOTHING not between ", value1, value2, "IS_FOOD_CLOTHING");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andIsDropOutIsNull() {
            addCriterion("IS_DROP_OUT is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutIsNotNull() {
            addCriterion("IS_DROP_OUT is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutEqualTo(Integer value) {
            addCriterion("IS_DROP_OUT =", value, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutNotEqualTo(Integer value) {
            addCriterion("IS_DROP_OUT <>", value, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutGreaterThan(Integer value) {
            addCriterion("IS_DROP_OUT >", value, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_DROP_OUT >=", value, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutLessThan(Integer value) {
            addCriterion("IS_DROP_OUT <", value, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutLessThanOrEqualTo(Integer value) {
            addCriterion("IS_DROP_OUT <=", value, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutLike(Integer value) {
            addCriterion("IS_DROP_OUT like ", value, "IS_DROP_OUT", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutNotLike(Integer value) {
            addCriterion("IS_DROP_OUT  not like ", value, "IS_DROP_OUT", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutLeftLike(Integer value) {
            addCriterion("IS_DROP_OUT like ", value, "IS_DROP_OUT", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutNotLeftLike(Integer value) {
            addCriterion("IS_DROP_OUT  not like ", value, "IS_DROP_OUT", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutRightLike(Integer value) {
            addCriterion("IS_DROP_OUT like ", value, "IS_DROP_OUT", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutNotRightLike(Integer value) {
            addCriterion("IS_DROP_OUT  not like ", value, "IS_DROP_OUT", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutIn(List<Integer> values) {
            addCriterion("IS_DROP_OUT  in ", values, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutNotIn(List<Integer> values) {
            addCriterion("IS_DROP_OUT not in ", values, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutBetween(Integer value1, Integer value2) {
            addCriterion("IS_DROP_OUT between ", value1, value2, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDropOutNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_DROP_OUT not between ", value1, value2, "IS_DROP_OUT");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andIsDangerousIsNull() {
            addCriterion("IS_DANGEROUS is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousIsNotNull() {
            addCriterion("IS_DANGEROUS is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousEqualTo(Integer value) {
            addCriterion("IS_DANGEROUS =", value, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousNotEqualTo(Integer value) {
            addCriterion("IS_DANGEROUS <>", value, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousGreaterThan(Integer value) {
            addCriterion("IS_DANGEROUS >", value, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_DANGEROUS >=", value, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousLessThan(Integer value) {
            addCriterion("IS_DANGEROUS <", value, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousLessThanOrEqualTo(Integer value) {
            addCriterion("IS_DANGEROUS <=", value, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousLike(Integer value) {
            addCriterion("IS_DANGEROUS like ", value, "IS_DANGEROUS", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousNotLike(Integer value) {
            addCriterion("IS_DANGEROUS  not like ", value, "IS_DANGEROUS", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousLeftLike(Integer value) {
            addCriterion("IS_DANGEROUS like ", value, "IS_DANGEROUS", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousNotLeftLike(Integer value) {
            addCriterion("IS_DANGEROUS  not like ", value, "IS_DANGEROUS", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousRightLike(Integer value) {
            addCriterion("IS_DANGEROUS like ", value, "IS_DANGEROUS", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousNotRightLike(Integer value) {
            addCriterion("IS_DANGEROUS  not like ", value, "IS_DANGEROUS", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousIn(List<Integer> values) {
            addCriterion("IS_DANGEROUS  in ", values, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousNotIn(List<Integer> values) {
            addCriterion("IS_DANGEROUS not in ", values, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousBetween(Integer value1, Integer value2) {
            addCriterion("IS_DANGEROUS between ", value1, value2, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsDangerousNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_DANGEROUS not between ", value1, value2, "IS_DANGEROUS");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andIsNrcmsIsNull() {
            addCriterion("IS_NRCMS is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsIsNotNull() {
            addCriterion("IS_NRCMS is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsEqualTo(Integer value) {
            addCriterion("IS_NRCMS =", value, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsNotEqualTo(Integer value) {
            addCriterion("IS_NRCMS <>", value, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsGreaterThan(Integer value) {
            addCriterion("IS_NRCMS >", value, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_NRCMS >=", value, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsLessThan(Integer value) {
            addCriterion("IS_NRCMS <", value, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsLessThanOrEqualTo(Integer value) {
            addCriterion("IS_NRCMS <=", value, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsLike(Integer value) {
            addCriterion("IS_NRCMS like ", value, "IS_NRCMS", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsNotLike(Integer value) {
            addCriterion("IS_NRCMS  not like ", value, "IS_NRCMS", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsLeftLike(Integer value) {
            addCriterion("IS_NRCMS like ", value, "IS_NRCMS", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsNotLeftLike(Integer value) {
            addCriterion("IS_NRCMS  not like ", value, "IS_NRCMS", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsRightLike(Integer value) {
            addCriterion("IS_NRCMS like ", value, "IS_NRCMS", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsNotRightLike(Integer value) {
            addCriterion("IS_NRCMS  not like ", value, "IS_NRCMS", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsIn(List<Integer> values) {
            addCriterion("IS_NRCMS  in ", values, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsNotIn(List<Integer> values) {
            addCriterion("IS_NRCMS not in ", values, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsBetween(Integer value1, Integer value2) {
            addCriterion("IS_NRCMS between ", value1, value2, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsNrcmsNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_NRCMS not between ", value1, value2, "IS_NRCMS");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andIsEndowmentIsNull() {
            addCriterion("IS_ENDOWMENT is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentIsNotNull() {
            addCriterion("IS_ENDOWMENT is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentEqualTo(Integer value) {
            addCriterion("IS_ENDOWMENT =", value, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentNotEqualTo(Integer value) {
            addCriterion("IS_ENDOWMENT <>", value, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentGreaterThan(Integer value) {
            addCriterion("IS_ENDOWMENT >", value, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentGreaterThanOrEqualTo(Integer value) {
            addCriterion("IS_ENDOWMENT >=", value, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentLessThan(Integer value) {
            addCriterion("IS_ENDOWMENT <", value, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentLessThanOrEqualTo(Integer value) {
            addCriterion("IS_ENDOWMENT <=", value, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentLike(Integer value) {
            addCriterion("IS_ENDOWMENT like ", value, "IS_ENDOWMENT", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentNotLike(Integer value) {
            addCriterion("IS_ENDOWMENT  not like ", value, "IS_ENDOWMENT", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentLeftLike(Integer value) {
            addCriterion("IS_ENDOWMENT like ", value, "IS_ENDOWMENT", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentNotLeftLike(Integer value) {
            addCriterion("IS_ENDOWMENT  not like ", value, "IS_ENDOWMENT", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentRightLike(Integer value) {
            addCriterion("IS_ENDOWMENT like ", value, "IS_ENDOWMENT", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentNotRightLike(Integer value) {
            addCriterion("IS_ENDOWMENT  not like ", value, "IS_ENDOWMENT", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentIn(List<Integer> values) {
            addCriterion("IS_ENDOWMENT  in ", values, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentNotIn(List<Integer> values) {
            addCriterion("IS_ENDOWMENT not in ", values, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentBetween(Integer value1, Integer value2) {
            addCriterion("IS_ENDOWMENT between ", value1, value2, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIsEndowmentNotBetween(Integer value1, Integer value2) {
            addCriterion("IS_ENDOWMENT not between ", value1, value2, "IS_ENDOWMENT");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andMainReasonIsNull() {
            addCriterion("MAIN_REASON is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonIsNotNull() {
            addCriterion("MAIN_REASON is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonEqualTo(Integer value) {
            addCriterion("MAIN_REASON =", value, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonNotEqualTo(Integer value) {
            addCriterion("MAIN_REASON <>", value, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonGreaterThan(Integer value) {
            addCriterion("MAIN_REASON >", value, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonGreaterThanOrEqualTo(Integer value) {
            addCriterion("MAIN_REASON >=", value, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonLessThan(Integer value) {
            addCriterion("MAIN_REASON <", value, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonLessThanOrEqualTo(Integer value) {
            addCriterion("MAIN_REASON <=", value, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonLike(Integer value) {
            addCriterion("MAIN_REASON like ", value, "MAIN_REASON", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonNotLike(Integer value) {
            addCriterion("MAIN_REASON  not like ", value, "MAIN_REASON", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonLeftLike(Integer value) {
            addCriterion("MAIN_REASON like ", value, "MAIN_REASON", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonNotLeftLike(Integer value) {
            addCriterion("MAIN_REASON  not like ", value, "MAIN_REASON", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonRightLike(Integer value) {
            addCriterion("MAIN_REASON like ", value, "MAIN_REASON", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonNotRightLike(Integer value) {
            addCriterion("MAIN_REASON  not like ", value, "MAIN_REASON", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonIn(List<Integer> values) {
            addCriterion("MAIN_REASON  in ", values, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonNotIn(List<Integer> values) {
            addCriterion("MAIN_REASON not in ", values, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonBetween(Integer value1, Integer value2) {
            addCriterion("MAIN_REASON between ", value1, value2, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andMainReasonNotBetween(Integer value1, Integer value2) {
            addCriterion("MAIN_REASON not between ", value1, value2, "MAIN_REASON");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andPovertyStateIsNull() {
            addCriterion("POVERTY_STATE is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateIsNotNull() {
            addCriterion("POVERTY_STATE is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateEqualTo(Integer value) {
            addCriterion("POVERTY_STATE =", value, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateNotEqualTo(Integer value) {
            addCriterion("POVERTY_STATE <>", value, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateGreaterThan(Integer value) {
            addCriterion("POVERTY_STATE >", value, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("POVERTY_STATE >=", value, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateLessThan(Integer value) {
            addCriterion("POVERTY_STATE <", value, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateLessThanOrEqualTo(Integer value) {
            addCriterion("POVERTY_STATE <=", value, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateLike(Integer value) {
            addCriterion("POVERTY_STATE like ", value, "POVERTY_STATE", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateNotLike(Integer value) {
            addCriterion("POVERTY_STATE  not like ", value, "POVERTY_STATE", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateLeftLike(Integer value) {
            addCriterion("POVERTY_STATE like ", value, "POVERTY_STATE", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateNotLeftLike(Integer value) {
            addCriterion("POVERTY_STATE  not like ", value, "POVERTY_STATE", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateRightLike(Integer value) {
            addCriterion("POVERTY_STATE like ", value, "POVERTY_STATE", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateNotRightLike(Integer value) {
            addCriterion("POVERTY_STATE  not like ", value, "POVERTY_STATE", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateIn(List<Integer> values) {
            addCriterion("POVERTY_STATE  in ", values, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateNotIn(List<Integer> values) {
            addCriterion("POVERTY_STATE not in ", values, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateBetween(Integer value1, Integer value2) {
            addCriterion("POVERTY_STATE between ", value1, value2, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateNotBetween(Integer value1, Integer value2) {
            addCriterion("POVERTY_STATE not between ", value1, value2, "POVERTY_STATE");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andAidMainStaffIsNull() {
            addCriterion("AID_MAIN_STAFF is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffIsNotNull() {
            addCriterion("AID_MAIN_STAFF is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF =", value, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffNotEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF <>", value, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffGreaterThan(Integer value) {
            addCriterion("AID_MAIN_STAFF >", value, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffGreaterThanOrEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF >=", value, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffLessThan(Integer value) {
            addCriterion("AID_MAIN_STAFF <", value, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffLessThanOrEqualTo(Integer value) {
            addCriterion("AID_MAIN_STAFF <=", value, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffLike(Integer value) {
            addCriterion("AID_MAIN_STAFF like ", value, "AID_MAIN_STAFF", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffNotLike(Integer value) {
            addCriterion("AID_MAIN_STAFF  not like ", value, "AID_MAIN_STAFF", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffLeftLike(Integer value) {
            addCriterion("AID_MAIN_STAFF like ", value, "AID_MAIN_STAFF", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffNotLeftLike(Integer value) {
            addCriterion("AID_MAIN_STAFF  not like ", value, "AID_MAIN_STAFF", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffRightLike(Integer value) {
            addCriterion("AID_MAIN_STAFF like ", value, "AID_MAIN_STAFF", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffNotRightLike(Integer value) {
            addCriterion("AID_MAIN_STAFF  not like ", value, "AID_MAIN_STAFF", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffIn(List<Integer> values) {
            addCriterion("AID_MAIN_STAFF  in ", values, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffNotIn(List<Integer> values) {
            addCriterion("AID_MAIN_STAFF not in ", values, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffBetween(Integer value1, Integer value2) {
            addCriterion("AID_MAIN_STAFF between ", value1, value2, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAidMainStaffNotBetween(Integer value1, Integer value2) {
            addCriterion("AID_MAIN_STAFF not between ", value1, value2, "AID_MAIN_STAFF");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andIdentStandardIsNull() {
            addCriterion("IDENT_STANDARD is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardIsNotNull() {
            addCriterion("IDENT_STANDARD is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardEqualTo(Integer value) {
            addCriterion("IDENT_STANDARD =", value, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardNotEqualTo(Integer value) {
            addCriterion("IDENT_STANDARD <>", value, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardGreaterThan(Integer value) {
            addCriterion("IDENT_STANDARD >", value, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardGreaterThanOrEqualTo(Integer value) {
            addCriterion("IDENT_STANDARD >=", value, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardLessThan(Integer value) {
            addCriterion("IDENT_STANDARD <", value, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardLessThanOrEqualTo(Integer value) {
            addCriterion("IDENT_STANDARD <=", value, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardLike(Integer value) {
            addCriterion("IDENT_STANDARD like ", value, "IDENT_STANDARD", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardNotLike(Integer value) {
            addCriterion("IDENT_STANDARD  not like ", value, "IDENT_STANDARD", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardLeftLike(Integer value) {
            addCriterion("IDENT_STANDARD like ", value, "IDENT_STANDARD", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardNotLeftLike(Integer value) {
            addCriterion("IDENT_STANDARD  not like ", value, "IDENT_STANDARD", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardRightLike(Integer value) {
            addCriterion("IDENT_STANDARD like ", value, "IDENT_STANDARD", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardNotRightLike(Integer value) {
            addCriterion("IDENT_STANDARD  not like ", value, "IDENT_STANDARD", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardIn(List<Integer> values) {
            addCriterion("IDENT_STANDARD  in ", values, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardNotIn(List<Integer> values) {
            addCriterion("IDENT_STANDARD not in ", values, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardBetween(Integer value1, Integer value2) {
            addCriterion("IDENT_STANDARD between ", value1, value2, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andIdentStandardNotBetween(Integer value1, Integer value2) {
            addCriterion("IDENT_STANDARD not between ", value1, value2, "IDENT_STANDARD");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andReasonIsNull() {
            addCriterion("REASON is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonIsNotNull() {
            addCriterion("REASON is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonEqualTo(String value) {
            addCriterion("REASON =", value, "REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonNotEqualTo(String value) {
            addCriterion("REASON <>", value, "REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonGreaterThan(String value) {
            addCriterion("REASON >", value, "REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonGreaterThanOrEqualTo(String value) {
            addCriterion("REASON >=", value, "REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonLessThan(String value) {
            addCriterion("REASON <", value, "REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonLessThanOrEqualTo(String value) {
            addCriterion("REASON <=", value, "REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonLike(String value) {
            addCriterion("REASON like ", value, "REASON", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonNotLike(String value) {
            addCriterion("REASON  not like ", value, "REASON", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonLeftLike(String value) {
            addCriterion("REASON like ", value, "REASON", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonNotLeftLike(String value) {
            addCriterion("REASON  not like ", value, "REASON", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonRightLike(String value) {
            addCriterion("REASON like ", value, "REASON", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonNotRightLike(String value) {
            addCriterion("REASON  not like ", value, "REASON", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonIn(List<String> values) {
            addCriterion("REASON  in ", values, "REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonNotIn(List<String> values) {
            addCriterion("REASON not in ", values, "REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonBetween(String value1, String value2) {
            addCriterion("REASON between ", value1, value2, "REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andReasonNotBetween(String value1, String value2) {
            addCriterion("REASON not between ", value1, value2, "REASON");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andPlanShakeOffDateIsNull() {
            addCriterion("PLAN_SHAKE_OFF_DATE is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateIsNotNull() {
            addCriterion("PLAN_SHAKE_OFF_DATE is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateEqualTo(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE =", value, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateNotEqualTo(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE <>", value, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateGreaterThan(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE >", value, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateGreaterThanOrEqualTo(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE >=", value, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateLessThan(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE <", value, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateLessThanOrEqualTo(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE <=", value, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE like ", value, "PLAN_SHAKE_OFF_DATE", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateNotLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE  not like ", value, "PLAN_SHAKE_OFF_DATE", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateLeftLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE like ", value, "PLAN_SHAKE_OFF_DATE", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateNotLeftLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE  not like ", value, "PLAN_SHAKE_OFF_DATE", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateRightLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE like ", value, "PLAN_SHAKE_OFF_DATE", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateNotRightLike(Date value) {
            addCriterion("PLAN_SHAKE_OFF_DATE  not like ", value, "PLAN_SHAKE_OFF_DATE", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateIn(List<Date> values) {
            addCriterion("PLAN_SHAKE_OFF_DATE  in ", values, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateNotIn(List<Date> values) {
            addCriterion("PLAN_SHAKE_OFF_DATE not in ", values, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateBetween(Date value1, Date value2) {
            addCriterion("PLAN_SHAKE_OFF_DATE between ", value1, value2, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPlanShakeOffDateNotBetween(Date value1, Date value2) {
            addCriterion("PLAN_SHAKE_OFF_DATE not between ", value1, value2, "PLAN_SHAKE_OFF_DATE");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andAdressIsNull() {
            addCriterion("ADRESS is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressIsNotNull() {
            addCriterion("ADRESS is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressEqualTo(String value) {
            addCriterion("ADRESS =", value, "ADRESS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressNotEqualTo(String value) {
            addCriterion("ADRESS <>", value, "ADRESS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressGreaterThan(String value) {
            addCriterion("ADRESS >", value, "ADRESS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressGreaterThanOrEqualTo(String value) {
            addCriterion("ADRESS >=", value, "ADRESS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressLessThan(String value) {
            addCriterion("ADRESS <", value, "ADRESS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressLessThanOrEqualTo(String value) {
            addCriterion("ADRESS <=", value, "ADRESS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressLike(String value) {
            addCriterion("ADRESS like ", value, "ADRESS", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressNotLike(String value) {
            addCriterion("ADRESS  not like ", value, "ADRESS", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressLeftLike(String value) {
            addCriterion("ADRESS like ", value, "ADRESS", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressNotLeftLike(String value) {
            addCriterion("ADRESS  not like ", value, "ADRESS", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressRightLike(String value) {
            addCriterion("ADRESS like ", value, "ADRESS", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressNotRightLike(String value) {
            addCriterion("ADRESS  not like ", value, "ADRESS", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressIn(List<String> values) {
            addCriterion("ADRESS  in ", values, "ADRESS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressNotIn(List<String> values) {
            addCriterion("ADRESS not in ", values, "ADRESS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressBetween(String value1, String value2) {
            addCriterion("ADRESS between ", value1, value2, "ADRESS");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAdressNotBetween(String value1, String value2) {
            addCriterion("ADRESS not between ", value1, value2, "ADRESS");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andOtherReasonIsNull() {
            addCriterion("OTHER_REASON is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonIsNotNull() {
            addCriterion("OTHER_REASON is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonEqualTo(String value) {
            addCriterion("OTHER_REASON =", value, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonNotEqualTo(String value) {
            addCriterion("OTHER_REASON <>", value, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonGreaterThan(String value) {
            addCriterion("OTHER_REASON >", value, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonGreaterThanOrEqualTo(String value) {
            addCriterion("OTHER_REASON >=", value, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonLessThan(String value) {
            addCriterion("OTHER_REASON <", value, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonLessThanOrEqualTo(String value) {
            addCriterion("OTHER_REASON <=", value, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonLike(String value) {
            addCriterion("OTHER_REASON like ", value, "OTHER_REASON", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonNotLike(String value) {
            addCriterion("OTHER_REASON  not like ", value, "OTHER_REASON", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonLeftLike(String value) {
            addCriterion("OTHER_REASON like ", value, "OTHER_REASON", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonNotLeftLike(String value) {
            addCriterion("OTHER_REASON  not like ", value, "OTHER_REASON", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonRightLike(String value) {
            addCriterion("OTHER_REASON like ", value, "OTHER_REASON", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonNotRightLike(String value) {
            addCriterion("OTHER_REASON  not like ", value, "OTHER_REASON", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonIn(List<String> values) {
            addCriterion("OTHER_REASON  in ", values, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonNotIn(List<String> values) {
            addCriterion("OTHER_REASON not in ", values, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonBetween(String value1, String value2) {
            addCriterion("OTHER_REASON between ", value1, value2, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andOtherReasonNotBetween(String value1, String value2) {
            addCriterion("OTHER_REASON not between ", value1, value2, "OTHER_REASON");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andPhotoListIsNull() {
            addCriterion("PHOTO_LIST is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListIsNotNull() {
            addCriterion("PHOTO_LIST is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListEqualTo(String value) {
            addCriterion("PHOTO_LIST =", value, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListNotEqualTo(String value) {
            addCriterion("PHOTO_LIST <>", value, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListGreaterThan(String value) {
            addCriterion("PHOTO_LIST >", value, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListGreaterThanOrEqualTo(String value) {
            addCriterion("PHOTO_LIST >=", value, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListLessThan(String value) {
            addCriterion("PHOTO_LIST <", value, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListLessThanOrEqualTo(String value) {
            addCriterion("PHOTO_LIST <=", value, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListNotLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListLeftLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListNotLeftLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListRightLike(String value) {
            addCriterion("PHOTO_LIST like ", value, "PHOTO_LIST", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListNotRightLike(String value) {
            addCriterion("PHOTO_LIST  not like ", value, "PHOTO_LIST", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListIn(List<String> values) {
            addCriterion("PHOTO_LIST  in ", values, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListNotIn(List<String> values) {
            addCriterion("PHOTO_LIST not in ", values, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListBetween(String value1, String value2) {
            addCriterion("PHOTO_LIST between ", value1, value2, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPhotoListNotBetween(String value1, String value2) {
            addCriterion("PHOTO_LIST not between ", value1, value2, "PHOTO_LIST");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andAvgIncomeIsNull() {
            addCriterion("AVG_INCOME is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeIsNotNull() {
            addCriterion("AVG_INCOME is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeEqualTo(BigDecimal value) {
            addCriterion("AVG_INCOME =", value, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeNotEqualTo(BigDecimal value) {
            addCriterion("AVG_INCOME <>", value, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeGreaterThan(BigDecimal value) {
            addCriterion("AVG_INCOME >", value, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("AVG_INCOME >=", value, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeLessThan(BigDecimal value) {
            addCriterion("AVG_INCOME <", value, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeLessThanOrEqualTo(BigDecimal value) {
            addCriterion("AVG_INCOME <=", value, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeLike(BigDecimal value) {
            addCriterion("AVG_INCOME like ", value, "AVG_INCOME", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeNotLike(BigDecimal value) {
            addCriterion("AVG_INCOME  not like ", value, "AVG_INCOME", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeLeftLike(BigDecimal value) {
            addCriterion("AVG_INCOME like ", value, "AVG_INCOME", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeNotLeftLike(BigDecimal value) {
            addCriterion("AVG_INCOME  not like ", value, "AVG_INCOME", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeRightLike(BigDecimal value) {
            addCriterion("AVG_INCOME like ", value, "AVG_INCOME", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeNotRightLike(BigDecimal value) {
            addCriterion("AVG_INCOME  not like ", value, "AVG_INCOME", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeIn(List<BigDecimal> values) {
            addCriterion("AVG_INCOME  in ", values, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeNotIn(List<BigDecimal> values) {
            addCriterion("AVG_INCOME not in ", values, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AVG_INCOME between ", value1, value2, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andAvgIncomeNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("AVG_INCOME not between ", value1, value2, "AVG_INCOME");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andPersonNumIsNull() {
            addCriterion("PERSON_NUM is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumIsNotNull() {
            addCriterion("PERSON_NUM is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumEqualTo(Integer value) {
            addCriterion("PERSON_NUM =", value, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumNotEqualTo(Integer value) {
            addCriterion("PERSON_NUM <>", value, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumGreaterThan(Integer value) {
            addCriterion("PERSON_NUM >", value, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumGreaterThanOrEqualTo(Integer value) {
            addCriterion("PERSON_NUM >=", value, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumLessThan(Integer value) {
            addCriterion("PERSON_NUM <", value, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumLessThanOrEqualTo(Integer value) {
            addCriterion("PERSON_NUM <=", value, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumLike(Integer value) {
            addCriterion("PERSON_NUM like ", value, "PERSON_NUM", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumNotLike(Integer value) {
            addCriterion("PERSON_NUM  not like ", value, "PERSON_NUM", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumLeftLike(Integer value) {
            addCriterion("PERSON_NUM like ", value, "PERSON_NUM", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumNotLeftLike(Integer value) {
            addCriterion("PERSON_NUM  not like ", value, "PERSON_NUM", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumRightLike(Integer value) {
            addCriterion("PERSON_NUM like ", value, "PERSON_NUM", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumNotRightLike(Integer value) {
            addCriterion("PERSON_NUM  not like ", value, "PERSON_NUM", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumIn(List<Integer> values) {
            addCriterion("PERSON_NUM  in ", values, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumNotIn(List<Integer> values) {
            addCriterion("PERSON_NUM not in ", values, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumBetween(Integer value1, Integer value2) {
            addCriterion("PERSON_NUM between ", value1, value2, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPersonNumNotBetween(Integer value1, Integer value2) {
            addCriterion("PERSON_NUM not between ", value1, value2, "PERSON_NUM");
            return (FamilyInfoCriteria) this;
        }
        public FamilyInfoCriteria andPovertyStateDateIsNull() {
            addCriterion("POVERTY_STATE_DATE is null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateIsNotNull() {
            addCriterion("POVERTY_STATE_DATE is not null");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE =", value, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateNotEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE <>", value, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateGreaterThan(Date value) {
            addCriterion("POVERTY_STATE_DATE >", value, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateGreaterThanOrEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE >=", value, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateLessThan(Date value) {
            addCriterion("POVERTY_STATE_DATE <", value, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateLessThanOrEqualTo(Date value) {
            addCriterion("POVERTY_STATE_DATE <=", value, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateLike(Date value) {
            addCriterion("POVERTY_STATE_DATE like ", value, "POVERTY_STATE_DATE", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateNotLike(Date value) {
            addCriterion("POVERTY_STATE_DATE  not like ", value, "POVERTY_STATE_DATE", 1);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateLeftLike(Date value) {
            addCriterion("POVERTY_STATE_DATE like ", value, "POVERTY_STATE_DATE", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateNotLeftLike(Date value) {
            addCriterion("POVERTY_STATE_DATE  not like ", value, "POVERTY_STATE_DATE", 0);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateRightLike(Date value) {
            addCriterion("POVERTY_STATE_DATE like ", value, "POVERTY_STATE_DATE", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateNotRightLike(Date value) {
            addCriterion("POVERTY_STATE_DATE  not like ", value, "POVERTY_STATE_DATE", 2);
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateIn(List<Date> values) {
            addCriterion("POVERTY_STATE_DATE  in ", values, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateNotIn(List<Date> values) {
            addCriterion("POVERTY_STATE_DATE not in ", values, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateBetween(Date value1, Date value2) {
            addCriterion("POVERTY_STATE_DATE between ", value1, value2, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

        public FamilyInfoCriteria andPovertyStateDateNotBetween(Date value1, Date value2) {
            addCriterion("POVERTY_STATE_DATE not between ", value1, value2, "POVERTY_STATE_DATE");
            return (FamilyInfoCriteria) this;
        }

    }

    public static class FamilyInfoCriteria extends GeneratedCriteria {

        protected FamilyInfoCriteria() {
            super();
        }
    }

    public static class FamilyInfoCriterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected FamilyInfoCriterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }
        protected FamilyInfoCriterion(String condition, Object value, int likeType) {
            this.condition = condition;
            if (likeType == 0) {
                this.value = "%" + value;
            }
            else if (likeType == 1) {
                this.value = "%" + value + "%";
            }
            else {
                this.value = value + "%";
            }
            this.typeHandler = null;
            this.singleValue = true;

        }

        protected FamilyInfoCriterion(String condition, Object value,
                String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            }
            else {
                this.singleValue = true;
            }
        }

        protected FamilyInfoCriterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected FamilyInfoCriterion(String condition, Object value,
                Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected FamilyInfoCriterion(String condition, Object value,
                Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}